<template>
  <div>
    <div class="header">
      <router-link to="/">
        <div class="iconfont back_index">&#xe667;</div>
      </router-link>
      <span>城市选择</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" type="text/stylus" scoped>
  @import '~styles/varibiles.styl'
  .header
    position relative
    overflow: hidden
    height $headerHeight
    line-height $headerHeight
    text-align center
    color #ffffff
    background-color $bgColor
    font-size .32rem
    .back_index
      position absolute
      top 0
      left 0
      width .64rem
      text-align center
      font-size .4rem
      color #fff
</style>
